package com.raysdata.smartcity.web;

import com.alibaba.fastjson.JSON;
import com.raysdata.smartcity.HelperClazz;
import com.raysdata.smartcity.dao.sys.LogDao;
import com.raysdata.smartcity.dao.sys.OrgDao;
import com.raysdata.smartcity.dao.sys.RoleDao;
import com.raysdata.smartcity.dao.*;
import com.raysdata.smartcity.dao.sys.UserDao;
import com.raysdata.smartcity.flow.activiti.dao.IdentityDao;
import com.raysdata.smartcity.flow.activiti.dao.ProcessDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import javax.servlet.http.HttpServletResponse;


/**
 * 基类Action
 */
@Controller
public class BaseController {

    @Autowired
    public UserDao userDao;
    @Autowired
    public RoleDao roleDao;
    @Autowired
    public RzBaseDao rzBaseDao;
    @Autowired
    public CommonDao commonDao;
    @Autowired
    public LogDao logDao;
    @Autowired
    public OrgDao orgDao;
    @Autowired
    public IdentityDao identityDao;
    @Autowired
    public ProcessDao processDao;

    public static final String LOGIN_SESSION_NAME = "admin";
    public static final String ADMIN_INIT_PWD = "abc123";

    public static final Integer PAGE_COUNT = 10;

}
